#include "NotificationManager.h"

#include "Poco/Thread.h"

#include <cstdlib>
#include <iostream>

using namespace std;


int main()
{
	//TODO: PREGUNTAR A DANIEL XQ EL DELETE ME FUNCA MAL
/*
	TestClass *c = NEW TestClass();
	TestClass *classArr = NEW TestClass [100];
	
	//TestClass_2 *testClass_2 = NEW TestClass_2();
	//TestClass_2 *testClass_2Arr = NEW TestClass_2[522];
	
	MemmoryHandler::GetInstance()->printMemMap();


	DELETE(c);
	DELETE(classArr);

	//DELETE_ARR(testClass_2);
	//DELETE_ARR(testClass_2Arr);

	MemmoryHandler::GetInstance()->printMemMap();


	
	MainMultiThread *mEjercicioBarberia = new MainMultiThread();

	mEjercicioBarberia->Start();*/

//====================================================================
//EJERCICIO 2

	int timeCounter = 0;
	int maxTime = 300000000;
	bool end = false;
	
	int timeToAwake = 8000;

	Poco::Thread *managerThread = new Poco::Thread();
	managerThread->start(*NotificationManager::GetInstance());

	
	return 0;
}